package com.ali.order.dto;

/**
 * @ClassName CartDTO
 * @Description TODO
 * @Author Alistair.Chow
 * @date 2019/1/4 17:16
 * @Version 1.0
 */
public class CartDTO {
    /** 商品ID **/
    private Integer itemId;
    /** Sku Id **/
    private Integer skuId;
    /** 商品数量 **/
    private Integer quantity;

    public CartDTO() {
    }

    public CartDTO(Integer itemId, Integer skuId, Integer quantity) {
        this.itemId = itemId;
        this.skuId = skuId;
        this.quantity = quantity;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "CartDTO{" +
                "itemId=" + itemId +
                ", skuId=" + skuId +
                ", quantity=" + quantity +
                '}';
    }
}
